package com.siysoft.tc.base.bean.to;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="db_personal_chat")
public class PersonalChat {
	private int personal_chat_id;
	private int personal_chat_sender_id;
	private int personal_chat_receiver_id;
	private Timestamp personal_chat_time;
	private String personal_chat_content;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="personal_chat_id")
	public int getPersonal_chat_id() {
		return personal_chat_id;
	}
	public void setPersonal_chat_id(int personal_chat_id) {
		this.personal_chat_id = personal_chat_id;
	}
	
	@Column(name="personal_chat_sender_id")
	public int getPersonal_chat_sender_id() {
		return personal_chat_sender_id;
	}
	public void setPersonal_chat_sender_id(int personal_chat_sender_id) {
		this.personal_chat_sender_id = personal_chat_sender_id;
	}
	
	@Column(name="personal_chat_receiver_id")
	public int getPersonal_chat_receiver_id() {
		return personal_chat_receiver_id;
	}
	public void setPersonal_chat_receiver_id(int personal_chat_receiver_id) {
		this.personal_chat_receiver_id = personal_chat_receiver_id;
	}
	
	@Column(name="personal_chat_time")
	public Timestamp getPersonal_chat_time() {
		return personal_chat_time;
	}
	public void setPersonal_chat_time(Timestamp personal_chat_time) {
		this.personal_chat_time = personal_chat_time;
	}
	
	@Column(name="personal_chat_content")
	public String getPersonal_chat_content() {
		return personal_chat_content;
	}
	public void setPersonal_chat_content(String personal_chat_content) {
		this.personal_chat_content = personal_chat_content;
	}
	
	
	
}
